function OS_BattleEffect(host,id)
{
	this.$super=OS_Effect;
	if (this.$super(host,id)===false) return;
	delete this.$super;
	
	this.load=function(handler)
	{
		this.loadTimestamps();
		this.offset={
				x:Number(this.resourceNode.getElementsByTagName("offset")[0].getElementsByTagName("x")[0].childNodes[0].nodeValue),
				y:Number(this.resourceNode.getElementsByTagName("offset")[0].getElementsByTagName("y")[0].childNodes[0].nodeValue),
		}
		this.loaded=true;
		handler(this);
	}
}

OS_Resource.Builder.put("battleEffect",OS_BattleEffect);
